<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Insert title here</title>
</head>
<body>
	<fieldset>
		<legend>Lista de Turmas</legend>
	</fieldset>
	<table border="1">
	<thead>
	<tr>
		<th>ID</th>
		<th>Nome</th>
		<th>Serie</th>
<%-- 		<c:if test="${usuarioWeb.logado }"> --%>
<!-- 			<th>Editar</th> -->
<!-- 			<th>Remover</th> -->
<%-- 		</c:if> --%>
	</tr>
	</thead>
	<c:forEach var="turma" items="${turmaList}">
		<tr>
			<td>${turma.id}</td>
			<td>${turma.nome}</td>
			<td>${turma.serie}</td>
<%-- 			<c:if test="${usuarioWeb.logado }"> --%>
<!-- 				<td align="center"> -->
<%-- 					<a href="<c:url value="/questoes/${questao.id}"/>">Editar</a> --%>
<!-- 				</td> -->
<!-- 				<td align="center"> -->
<%-- 					<a href="<c:url value="/questoes/${questao.id}"/>">Editar</a> --%>
<%-- 					<form action="<c:url value="/questoes/${questao.id}" />" method="post"> --%>
<!-- 						<button class="link" name="_method" value="DELETE">Remover</button> -->
<!-- 					</form> -->
<!-- 				</td> -->
<%-- 			</c:if> --%>
		</tr>	
	</c:forEach>
</table>
</body>
</html>